<?php 
	//管理员的删除
	include_once("./com.php");
	$aid=$_GET['aid'];
	$sql="delete from admin where aid=$aid";
	$ers=mysql_query($sql);
	if(mysql_affected_rows()>0){
		echo"<script>
			alert('删除成功')
			location.href='adm.php'
			</script>";
	}else{
		echo"<script>
			alert('删除失败')
			location.href='adm.php'
		   </script>";
	}







 ?>